"use strict";
/**
 * @author zhaojiuyi
 * @date 2022/7/5-17:02
 * @version 1.0.0
 */
const mutations = {
  setToken: function (state, data) {
    window.sessionStorage.setItem('token', data);
    state.token = data;
  },
  setUserName: function (state, data){
    state.username = data
  }
}
export {mutations}
